package com.bank.backend.boot.server.feign;

import com.bank.backend.boot.base.model.dto.ModelResultDTO;
import com.bank.backend.boot.base.model.vo.ModelVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author jiaowei
 * @since 2025/5/8 17:22
 */
@FeignClient(name = "model-server", url = "http://127.0.0.1:8000/api")
public interface ModelFeign {
    @PostMapping("/detect_fraud/")
    ModelResultDTO detectFraud(ModelVO modelVO);
}
